You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVec Class > TMtxVec Methods > SinhCosh Method > TMtxVec.SinhCosh Method ([In] TMtxVec, [In] TMtxVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxVec.SinhCosh Method ([In] TMtxVec, [In] TMtxVec)

Hyperbolic sine and cosine.

Syntax
C#
Visual Basic
public void SinhCosh([In] TMtxVec SinhX, [In] TMtxVec CoshX);

Calculates the hyperbolic sine and hyperbolic cosine for all calling object elements and stores the sines to SinhX and cosines to CoshX. Size and Complex property of SinhX and CoshX are adjusted automatically. 

Note Use this method if you require hyperbolic sine and hyperbolic cosine.

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TVec a,s,v; MtxVec.CreateIt(out a, out s, out c); try { a.SetIt(false, new double[] {0,Math387.PiDiv2,Math387.PI); a.SinhCosh(s,c); } finally { MtxVec.FreeIt(ref a, ref s, ref c); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!